﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mangosoft.DiceCopy.Presentation.ServiceAgents.ViewModels {
    public class VMAdvertising {
        public Guid Id { get; set; }

        ///<summary>
        ///
        ///</summary>
        public string Title { get; set; }

        ///<summary>
        ///
        ///</summary>
        public DateTime StartDate { get; set; }

        ///<summary>
        ///
        ///</summary>
        public DateTime EndDate { get; set; }

        ///<summary>
        ///
        ///</summary>
        public int Status { get; set; }
       
        ///<summary>
        ///
        ///</summary>
        public int BlockCode { get; set; }

        ///<summary>
        ///
        ///</summary>
        public int SortOrder { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Name { get; set; }

        ///<summary>
        ///1-图片；2-文字
        ///</summary>
        public int MaterialType { get; set; }

        ///<summary>
        ///
        ///</summary>
        public int High { get; set; }

        ///<summary>
        ///
        ///</summary>
        public int Width { get; set; }

        ///<summary>
        ///
        ///</summary>
        public int Size { get; set; }

        ///<summary>
        ///二进制内容
        ///</summary>
        public byte[] PictureBinary { get; set; }

        ///<summary>
        ///
        ///</summary>
        public string PictureFormat { get; set; }

        ///<summary>
        ///
        ///</summary>
        public string AlternateText { get; set; }

        ///<summary>
        ///
        ///</summary>
        public string Text { get; set; }

        ///<summary>
        ///
        ///</summary>
        public string TextStyle { get; set; }
             

        ///<summary>
        ///链接分内外，编辑时指定。
        ///</summary>
        public string NavigateUrl { get; set; }

        ///<summary>
        ///如果是，则从CompanyId组合成Url
        ///</summary>
        public bool IsInternal { get; set; }

        ///<summary>
        ///广告物料可以有单位自行上传，由管理员选择发布
        ///</summary>
        public Guid CompanyId { get; set; }

        ///<summary>
        ///
        ///</summary>
        public DateTime DateCreated { get; set; }

        ///<summary>
        ///
        ///</summary>
        public DateTime LastUpdated { get; set; }      
       
    }
}
